package com.vcc.service.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.Role;
import com.vcc.data.entity.TaskLog;
import com.vcc.service.boss.response.taskLog.BossTaskLogVoBoss;
import com.vcc.service.client.vo.taskLog.TaskLogVo;

import java.util.List;

public interface TaskLogService extends IService<TaskLog> {

    Boolean processedSuccess(String orderId);

    Boolean processedError(String orderId);

    Boolean processedAccomplish(String orderId);

    Boolean processedAccomplish(Long id);

    List<TaskLog> listByStatus(Integer status,Long userId);

    Page<TaskLogVo> clientPaging(Integer pageNumber, Integer pageSize, Role role, Long userId, Long targetUserId, Integer status, String startDate, String endDate,Integer useFlag);

    Page<BossTaskLogVoBoss> bossPaging(Integer pageNumber, Integer pageSize, String orderId, Long targetUserId, Integer status, String startDate, String endDate, Integer useFlag);

    TaskLogVo getById(Long id);

    BossTaskLogVoBoss getBossById(Long id);
}
